package com.wondertek.poms.core.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import com.wondertek.poms.common.vo.ResultBean;
import com.wondertek.poms.dao.vo.BcSendVo;

/**
 * <p><b>BcFeignClient Description:</b> 播控client</p>
 * @author douzi
 * <b>DATE</b> 2020年12月8日 下午4:34:30
 */
@Component
@FeignClient(name = "POMS-BC")
public interface BcFeignClient {
    @PostMapping("${charge-url.sync.bc:/sync/distribute}")
    ResultBean syncBc(@RequestBody BcSendVo osdpVo);

    @GetMapping("${charge-url.del.bcrecord:/sync/del-bc-record}")
    ResultBean delbcRecord(@RequestParam Long prdContId);

//    @PostMapping("${charge-url.one.key.check}")
//    ResultBean oneKeyCheck(@RequestBody BcAssetPriorityVo bcAssetPriorityVo);
}
